# task 1 

file = open("data.txt", "w")

file.write("Hello World\n")
file.write("Hello Python")

file = open("data.txt", "r")

content_1 = file.readline()
content_2 = file.readline()

print(content_1)
print(content_2)

file.close()
